import React, { useEffect, useRef ,lazy,Suspense } from 'react'
 
const App = lazy(async () => import("app2/app"));
 
 
export default function app2() {

  const ref = useRef();
  
  useEffect(() => {
    // console.log("#add",mount)
    // try {
    //   mount(ref.current);
    // } catch (e) {
    //   console.log("app2", e)
    // }
    
  }, []);

  return (
    <>
      <Suspense fallback="loading...">
        {/* <div className='app-2' ref={ref}>
        </div> */}
        <App/>
      </Suspense>
    </>
  )
}